diff options
| author | Adam Soltys <[email protected]> | 2023-03-28 22:45:56 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-03-28 22:45:56 -0700 |
| commit | b51467da14e6a3def3ce12681b5222bf49484cd5 (patch) | |
| tree | 2d962032f97dd9def3f77a31e4786e6c37e70f55 /src/routes/(app)/[username]/invoice | |
| parent | 7da52f0ce5465262bbd809e979edd245668cd0b6 (diff) | |
| download | coinos-ui-b51467da14e6a3def3ce12681b5222bf49484cd5.tar.gz coinos-ui-b51467da14e6a3def3ce12681b5222bf49484cd5.zip | |
prettier
Diffstat (limited to 'src/routes/(app)/[username]/invoice')
| -rw-r--r-- | src/routes/(app)/[username]/invoice/[hash]/tip/+page.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/[username]/invoice/[hash]/tip/+page.svelte b/src/routes/(app)/[username]/invoice/[hash]/tip/+page.svelte index c0b504f8..e93114cd 100644 --- a/src/routes/(app)/[username]/invoice/[hash]/tip/+page.svelte +++ b/src/routes/(app)/[username]/invoice/[hash]/tip/+page.svelte @@ -93,7 +93,7 @@ }; $: currency = user?.currency || invoice.currency; - $: rate = invoice.rate * (rates[currency] / rates[invoice.currency]); + $: rate = invoice.rate * (rates[currency] / rates[invoice.currency]); $: tip = Math.round((amount / 100) * tipPercent); |
